use test_macro::my_log;

#[my_log]
fn my_fn() {
    println!("Hello, world!");
}

#[my_log]
fn add_two_numbers(a: i32, b: i32) -> i32 {
    a + b
}

#[cfg(test)]
mod tests {
    use super::*;
    #[test]
    fn test_my_fn() {
        my_fn();
    }

    #[test]
    fn test_add_two_numbers() {
        assert_eq!(add_two_numbers(2, 3), 5);
    }
}
